/* A container should group all your columns. */
.container {
  width: 1100px;
  margin: 0 auto 0 40px;
}

/* Use this class on any div.span / container to see the grid. */
.showgrid { 
  background: url(src/grid.png); 
}

/* Body margin for a sensile default look. */
body {
  margin:1.5em 0;	
}


/* Columns
-------------------------------------------------------------- */

/* Sets up basic grid floating and margin. */
div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16 {float:left;margin-right: 20px;}

/* The last column in a row needs this class. */
div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1  { width: 50px;}
.span-2  { width: 120px;}
.span-3  { width: 190px;}
.span-4  { width: 260px;}
.span-5  { width: 330px;}
.span-6  { width: 400px;}
.span-7  { width: 470px;}
.span-8  { width: 540px;}
.span-9  { width: 610px;}
.span-10 { width: 680px;}
.span-11 { width: 750px;}
.span-12 { width: 820px;}
.span-13 { width: 890px;}
.span-14 { width: 960px;}
.span-15 { width: 1030px;}
.span-16, div.span-16 { width: 1100px; margin: 0; }


/* Add these to a column to append empty cols. */
.append-1  { padding-right: 70px;}
.append-2  { padding-right: 140px;}
.append-3  { padding-right: 210px;}
.append-4  { padding-right: 280px;}
.append-5  { padding-right: 350px;}
.append-6  { padding-right: 420px;}
.append-7  { padding-right: 490px;}
.append-8  { padding-right: 560px;}
.append-9  { padding-right: 630px;}
.append-10 { padding-right: 700px;}
.append-11 { padding-right: 770px;}
.append-12 { padding-right: 840px;}
.append-13 { padding-right: 910px;}
.append-14 { padding-right: 980px;}
.append-15 { padding-right: 1050px;}


/* Add these to a column to prepend empty cols. */
.prepend-1  { padding-left: 70px;}
.prepend-2  { padding-left: 140px;}
.prepend-3  { padding-left: 210px;}
.prepend-4  { padding-left: 280px;}
.prepend-5  { padding-left: 350px;}
.prepend-6  { padding-left: 420px;}
.prepend-7  { padding-left: 490px;}
.prepend-8  { padding-left: 560px;}
.prepend-9  { padding-left: 630px;}
.prepend-10 { padding-left: 700px;}
.prepend-11 { padding-left: 770px;}
.prepend-12 { padding-left: 840px;}
.prepend-13 { padding-left: 910px;}
.prepend-14 { padding-left: 980px;}
.prepend-15 { padding-left: 1050px;}



/* Border on right hand side of a column. */
div.border {
  padding-right:9px;
  margin-right:10px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right:43px;
  margin-right:40px;
  border-right: 1px solid #eee;
}

/* Use these classes on an element to push it into the 
   next column, or to pull it into the previous column.  */

.pull-1 { margin-left: -70px;}
.pull-2 { margin-left: -140px;}
.pull-3 { margin-left: -210px;}
.pull-4 { margin-left: -280px;}
.pull-5 { margin-left: -350px;}
.pull-6 { margin-left: -420px;}
.pull-7 { margin-left: -490px;}
.pull-8 { margin-left: -560px;}
.pull-9 { margin-left: -630px;}
.pull-10 { margin-left: -700px;}
.pull-11 { margin-left: -770px;}
.pull-12 { margin-left: -840px;}
.pull-13 { margin-left: -910px;}
.pull-14 { margin-left: -980px;}
.pull-15 { margin-left: -1050px;}
.pull-16 { margin-left: -1120px;}

.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16 {float:left;position:relative;}


.push-1 { margin: 0 -70px 1.5em 70px;}
.push-2 { margin: 0 -140px 1.5em 140px;}
.push-3 { margin: 0 -210px 1.5em 210px;}
.push-4 { margin: 0 -280px 1.5em 280px;}
.push-5 { margin: 0 -350px 1.5em 350px;}
.push-6 { margin: 0 -420px 1.5em 420px;}
.push-7 { margin: 0 -490px 1.5em 490px;}
.push-8 { margin: 0 -560px 1.5em 560px;}
.push-9 { margin: 0 -630px 1.5em 630px;}
.push-10 { margin: 0 -700px 1.5em 700px;}
.push-11 { margin: 0 -770px 1.5em 770px;}
.push-12 { margin: 0 -840px 1.5em 840px;}
.push-13 { margin: 0 -910px 1.5em 910px;}
.push-14 { margin: 0 -980px 1.5em 980px;}
.push-15 { margin: 0 -1050px 1.5em 1050px;}
.push-16 { margin: 0 -1120px 1.5em 1120px;}

.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16 {float:right;position:relative;}



/* Misc classes and elements
-------------------------------------------------------------- */

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #E5ECF9; 
}

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd; 
  color: #ddd;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix, .container {display: inline-block;}
* html .clearfix,
* html .container {height: 1%;}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }
